package routes

import (
	"frame/internal/app/user"
	"github.com/gin-gonic/gin"
)

// InitApiRouter 初始化API路由
func InitApiRouter() *gin.Engine {
	router := gin.Default()
	apiGroup := router.Group("/http")
	user.RegisterUser(apiGroup)

	return router
}
